function objetus1() {
        try {
                objetus = new ActiveXObject("Msxml2.XMLHTTP");
        } catch (e) {
                try {
                        objetus= new ActiveXObject("Microsoft.XMLHTTP");
                } catch (E) {
                        objetus= false;
                }
        }
        if (!objetus && typeof XMLHttpRequest!='undefined') {
                objetus = new XMLHttpRequest();
        }
        return objetus
}

	
	function AbreDoc(param,url,id_div){
                _objetus = objetus1();
                _values_send = param;
				
				var questionMark = "";
				
				if(param!="")
					questionMark = "?";
					
                _URL_ = url;
                _objetus.open("GET",_URL_+questionMark+_values_send+"&claro="+Math.random(0,99999999999999999),true);
                _objetus.setRequestHeader('Content-Type','text/html; charset=iso-8859-1');
                _objetus.setRequestHeader('Cache-Control', 'no-cache');
                _objetus.setRequestHeader('Expires', '-1');
                _objetus.onreadystatechange=function() {
                        if (_objetus.readyState==4){
                          if(_objetus.status==200){
                                                        document.getElementById(id_div).innerHTML=_objetus.responseText;
                                                        if(tipoEvento > 0){ document.location.replace("menu.html");}
                                        
                          }else {
                                document.getElementById(id_div).innerHTML= "Error";
                          }
        
                        }
                }
                _objetus.send(null);
                return
} 
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	